projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d744e0
)
Improve dired deletion error handling (Bug#28797)
author
Noam Postavsky
<npostavs@gmail.com>
Fri, 13 Oct 2017 03:12:00 +0000
(23:12 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 5 Nov 2017 16:38:38 +0000
(11:38 -0500)
* lisp/dired.el (dired-internal-do-deletions): Use
`error-message-string' to produce a human readable error message.
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index cf08143de7031e9f3a4feb40745b268e641caaff..f1a74639a9428303d6afef131034e90251ceab23 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-3144,7
+3144,7
@@
non-empty directories is allowed."
#'dired-delete-entry fn))
(quit (throw '--delete-cancel (message "OK, canceled")))
(error ;; catch errors from failed deletions
- (dired-log "%s
\n" err
)
+ (dired-log "%s
: %s\n" (car err) (error-message-string err)
)
(setq failures (cons (car (car l)) failures)))))
(setq l (cdr l)))
(if (not failures)